from Page import Page
from selenium import webdriver
import unittest
from Tools import have_log
# 添加无头模式选项







class Test_case(unittest.TestCase):
    def setUp(self) -> None:
        print('开始')
        self.driver=webdriver.Firefox()





    def tearDown(self) -> None:
        print('结束')
        self.driver.quit()



    def test_01(self):
        have_log()
        page = Page(self.driver)
        page.baidu()




